<script setup lang="ts">
// import { useI18n } from 'vue-i18n';
import * as Antd from 'ant-design-vue';

import {useCounterStore} from '@/store/useCounterStore'


const useCounter = useCounterStore()
</script>

<template>
  <div>
    <h1>Pinia</h1>
{{ useCounter }}<br/>
{{ useCounter.count }}<br/>
{{ useCounter.doubleCount() }}<br/>
   <a-button @click="useCounter.increment" type="primary"> increment </a-button>
  </div>
</template>

<style scoped>

</style>
